package com.egao.common.module.company.entity.vo;

import com.egao.common.module.company.entity.Attachment;
import com.egao.common.module.company.entity.MutualApply;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 双选会(Mutual)表实体类
 *
 * @author dl
 * @since 2021-02-24 13:52:35
 */
@SuppressWarnings("serial")
@ApiModel(description = "双选会")
@Data
public class MutualFormVO implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty("主键编号")
    private Integer id;
    
    @ApiModelProperty("举办场地")    
    private String fieldName;
    
    @ApiModelProperty("举办日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date startTime;
    
    @ApiModelProperty("截止报名日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endTime;
    
    @ApiModelProperty("举办时间段")    
    private String timeType;
    
    @ApiModelProperty("标题")    
    private String title;
    
    @ApiModelProperty("主办方")    
    private String companyName;
    
    @ApiModelProperty("双选会说明")    
    private String content;
    
    @ApiModelProperty("是否开放报名（1：否，0：是）")    
    private String openFlag;
    
    @ApiModelProperty("参会单位限制数量")    
    private Integer companyNumber;
    
    @ApiModelProperty("发布人")    
    private Integer createBy;

    private List<MutualApply> mutualApplyList;

    @ApiModelProperty("添加时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;

    @ApiModelProperty("附件")
    private List<Attachment> attachments;

    @ApiModelProperty("是否开启校企合作意愿 0是 1否")
    private String cooperation;

    @ApiModelProperty("校企合作意愿选项 ,隔开")
    private String cooperationOptions;

    @ApiModelProperty("是否开启参会 0是 1否")
    private String meeting;

    @ApiModelProperty("参会标题")
    private String meetingTitle;
}